    /*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Relatorios;

import SYSGEST.ReportUtil;
import SYSGEST.conexao.ConectioFactory;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author Mesopotanea
 */
public class ExecutaRelatorio {
    String relatorio = "";
    
    
    public void abrirRelatorio(String relatorio){
       this.relatorio = relatorio;
       InputStream inputStream = getClass().getResourceAsStream(relatorio);
       Map parametros = new HashMap();
       parametros.put("teste", 12);
        //ReportUtil.openReport("Relação de Unidades de Saúde", inputStream, parametros, );
       
    }
    
    
}
